<%@ Page Language="C#" MasterPageFile="~/Template/Default.master" AutoEventWireup="true" 
	CodeFile="EditImage.aspx.cs" Inherits="_Administration_EditImage" %>
<%@ MasterType VirtualPath="~/Template/Default.master" %>


<asp:Content ContentPlaceHolderID="BodyContent" runat="server">

	<p id="_ErrorMessage" class="errormessage" runat="server">Unable to load image for editing.</p>
	
	<asp:PlaceHolder ID="_Interface" runat="server">
	
	    <form runat="server">
	    
			<div class="admininputitem">
				<img id="_Image" runat="server" />
			</div>
			
			<div class="admininputitem">
				<h2><asp:Label AssociatedControlID="_ImageName" runat="server">Image name</asp:Label></h2>
				<input type="text" size="50" maxlength="100" id="_ImageName" runat="server" />
			</div>
			
			<div class="admininputitem">
				<h2><asp:Label AssociatedControlID="_ImageDescription" runat="server">Description</asp:Label></h2>
				<textarea cols="50" rows="4" id="_ImageDescription" runat="server" />
			</div>
			
			<div class="admininputitem">
				<h2><asp:Label AssociatedControlID="_ImageSequence" runat="server">Sequence</asp:Label></h2>
				<select id="_ImageSequence" runat="server"></select>
			</div>
			
			<div class="admininputitem">
				<h2><asp:Label AssociatedControlID="_ImageEnabled" runat="server">Enabled</asp:Label></h2>
				<input type="checkbox" id="_ImageEnabled" runat="server" />
			</div>
			
			<asp:PlaceHolder ID="_IsGalleryImageInterface" runat="server">
				<div class="admininputitem">
					<h2><asp:Label AssociatedControlID="_IsGalleryImage" runat="server">Set as gallery image</asp:Label></h2>
					<input type="checkbox" id="_IsGalleryImage" runat="server" />
				</div>
			</asp:PlaceHolder>
			
			<p id="_IsGalleryImageMessage" runat="server">This image is the gallery image.</p>
			
			<div>
				<input type="submit" value="Update" onserverclick="UpdateImage" runat="server" />
				<input type="submit" value="Cancel" onserverclick="CancelUpdate" runat="server" />
    		</div>
    	
    	</form>
    	
	</asp:PlaceHolder>
	
</asp:Content>